﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace _0812159_0812164
{
    public class Category
    {
        private int idcategory;

        public int Idcategory
        {
            get { return idcategory; }
            set { idcategory = value; }
        }
        private string namecategory;

        public string Namecategory
        {
            get { return namecategory; }
            set { namecategory = value; }
        }
        private int root;

        public int Root
        {
            get { return root; }
            set { root = value; }
        }

        public Category(string name, int id, int root)
        {
            Namecategory = name;
            Idcategory = id;
            Root = root;
        }

        public Category()
        {
        }
    }
}
